/**
 * Created by wangshaohua on 2018/1/14.
 */
moduleResource.factory("DoorResource", function (CambioResource, $$CambioConfig) {

    const resource = $$CambioConfig.SZ_MANAGEMENT_SYSTEM_RESOURCE_URL + "/door";
    return CambioResource(resource, {}, {
        findByLearningMapId: {
            url: resource + "/findByLearningMapId/:learningMapId",
            method: 'GET'
        },
        configForCourse: {
            url: resource + "/configForCourse",
            method: 'POST'
        },
        remove: {
            url: resource + "/remove/:id",
            method: 'PUT'
        }
    });
});